﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class RFIDLampDirectDto
    {
        /// <summary>
        /// 门店编码
        /// </summary>
        public string store_code { get; set; }
        /// <summary>
        /// 价签相关
        /// </summary>
        public List<F1> f1 { get; set; } = new List<F1>();
        /// <summary>
        /// default is 0
        /// </summary>
        public string is_base64 { get; set; }
        /// <summary>
        /// sign值
        /// </summary>
        public string sign { get; set; }
    }

    public class Product
    {
        /// <summary>
        /// 
        /// </summary>
        public string pc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string pn { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double pp { get; set; }
    }

    public class Led
    {
        /// <summary>
        /// 闪灯颜色
        /// </summary>
        public int r { get; set; }
        /// <summary>
        /// 闪灯颜色
        /// </summary>
        public int g { get; set; }
        /// <summary>
        /// 闪灯颜色
        /// </summary>
        public int b { get; set; }
        /// <summary>
        /// 单次闪烁时间
        /// </summary>
        public int time_on { get; set; }
        /// <summary>
        /// 总时间
        /// </summary>
        public int time { get; set; }
    }

    public class F1
    {
        /// <summary>
        /// 价签编码
        /// </summary>
        public string esl_code { get; set; }
        /// <summary>
        /// 模板id
        /// </summary>
        public int template_id { get; set; }
        /// <summary>
        /// 商品参数
        /// </summary>
        public Product product { get; set; }
        /// <summary>
        /// 亮灯参数
        /// </summary>
        public List<Led> led { get; set; } = new List<Led>();
    }

}
